Jump to content
Sign in to follow this  
yellowcake

counting entries in a related table

Recommended Posts

Hi Guys, i'll try to explain the question. I have a main table (this table contains the info about the job). I have a revisions table thats related to that job number - and i want to assign a revisions number to each entry - expect that when a new record is taken out on the main table - i need the revision to be reset back to 0.

IE.. job number 123 (main) has (revisions) 1, 2, 3

Job number 124 (main) has (revision) 1, 2

Job number 125 (main) has (revision) 1, 2,3,4,5

hope that makes sense

Cheers

AL

and so on.

Im sure that thsi is a very easy thing to do, but im stuck on it.. any help would be very much appreciated

Cheers

Al

Share this post


Link to post
Share on other sites

heh .. solved it after looking for complicated calculations... it was as simple as putting @@ in the row portal!

There you go.. sometime the solution is right in front of you but you cant see it for looking hey!

Cheers

Al

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.