Are you doing an "enter using" form? I think the autonumber doesn't get "set" until you save the record. My experience has been that when you exit the form, your variable would then be populated and can be referenced in code after the form is exited. But if you need it while still in the form, you'll have to issue a "saverow" to assign the autonum
Karen -----Original Message----- From: Dan Goldberg <[email protected]> To: [email protected] <[email protected]> Sent: Thu, Dec 8, 2022 9:34 am Subject: [RBASE-L] - capture autonumber field value <!--#yiv3198598849 filtered {}#yiv3198598849 filtered {}#yiv3198598849 p.yiv3198598849MsoNormal, #yiv3198598849 li.yiv3198598849MsoNormal, #yiv3198598849 div.yiv3198598849MsoNormal {margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3198598849 span.yiv3198598849EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv3198598849 .yiv3198598849MsoChpDefault {font-family:"Calibri", sans-serif;}#yiv3198598849 filtered {}#yiv3198598849 div.yiv3198598849WordSection1 {}-->I am trying to capture an autonumber field value in the after start eep but it keeps showing 0. So I put the variable field on the form so I can watch it(circled red). But when I step thru it I see the variable value in the form but not in the eep. Is there a better way after a form start and when a row is save to get the current autonumber value when those are triggered? TIA Dan Goldberg -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/BY3PR19MB5027F39DE5DF0671E6E6873BD41D9%40BY3PR19MB5027.namprd19.prod.outlook.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/1131986925.2185178.1670518105949%40mail.yahoo.com.

