Basic C/Side resources

Are there any good pieces of documentation for the syntax of C/Side within attain? Struggling slightly with some of the very basic stuff!

Hi

quote:


Originally posted by iain.macaulay@carlbro.com
Are there any good pieces of documentation for the syntax of C/Side within attain? Struggling slightly with some of the very basic stuff!


Please check your Attain - CD for a C/Side manual (pdf). bye André

Iain, I have to concur with André - the first & foremost place to look, must be on the product CD. After this ‘basic training’, the next place to look would have to be the existing objects in a Navision database. Hope this helps. Regards

Iain, I have to concur with CMDunbar - the second place to look, must be the exsting objects in a Navision Database. After this ‘not so basic training’, the next place to look would have to be Denmark. Hope this helps. Regards

Hi Emiel

quote:


Originally posted by eromein
Iain, I have to concur with CMDunbar - the second place to look, must be the exsting objects in a Navision Database. After this ‘not so basic training’, the next place to look would have to be Denmark. Hope this helps. Regards


It seems you forgot one step: The third place to look for help is IMHO always this forum. Sometimes it is my very first step [;)]. bye André

Actually, before trying Denmark [;)] you should look and search this forum. [:D]

…I think I am seeing a pattern here…check the cd, check, the code, check the forum, brush up on my Danish… Ta

I’ve got to contradict you there, the most basic stuff isn’t documentated anywhere. Try to find a documentation about the use of DOWNTO in a FOR-statement or a description of the statements C/AL understands. May be not that difficult for natural born programmers, but beginners should be allowed to ask. RTFM is only the best answer if a manual exists…

Fair comment I suppose Alex. Ok maybe we have anticipated Iain has a little programming experience. Assuming Iain doesn’t, I would say that personally I found it helpful knowing at the time of starting out, a little Delphi / Turbo Pascal. So Iain, you could check out some Delphi / Turbo Pascal sites for code examples as well addressing the other options, like looking at the database objects. Good luck![:D]

{Iain finds the “The C/AL Control Language” section in w1w1adg.pdf} RTFM after finding TFM! Seriously though, I have a good couple of years experience with asp (mainly vb) and can just about remember delphi/pascal from educational years…its just that I am finding rapid modification and development of reports a real bind - there seems to be code spread about everywhere! Is this just the rollout we got from Navision or is this a general thang? Oh, and I won’t even go into the struggle we had with the security roles & groups… [:(]

There’s no code spread everywhere… just on triggers… it’s a trigger oriented language (similar to event oriented one). If you’ve some experience with delphi it’s using the same concept… a trigger that makes the code being run… usually not all of the triggers are used, and in reports the most used are the onAfterGetRecord and OnPreDataItem triggers… but you can also have some code on the sections usually for controlling if the section it’s going to be shown or not… Security it’s not as hard to learn and setup as it seems… Regards