Is there any kind of STATUS() for ATTACHTABLE? (AREV Specific)
At 26 JAN 2000 04:36:21PM Michael Slack wrote:
We're running under AREV 3.12
Is there any kind of flag set that indicates if an ATTACHTABLE was successful or not? If so, where do I look to check the flag setting?
We have a process that we use to gather together program and/or data changes so that we can distribute them to our other locations (in what we call a modification file). We create a temporary volume that will hold the updated rows. Once we have everything in the ARev table within the volume, we zip it all up and send it out. Then the receiving site goes thru a process to unzip the volume and pull in the updated information.
Usally we try to make sure that we create the modification file in one setting (the process we have isn't completely user friendly). This last time we had to add to it after we had all ready closed it. So we had to re-attach the volume and do some other things before we could continue. We want to create a small little program to re-attach the volume and set-up the needed variables before we start adding more to the table.It should be a very simple program but I would like to make sure that the ATTACHTABLE has worked properly before continueing with the rest of the program but I haven't found a flag like a STATUS() to check to see if all went well or not. I was wondering if anyone has any ideas on this.The only thing that I've come across that will basically do what I want is to try to OPEN the table within the volume after the ATTACHTABLE. I was hoping for some sort of flag that may tell me more of why it didn't work instead of doing an OPEN and wondering if it was the ATTACHTABLE or the OPEN that failed.Thank you for your time,
Michael Slack
At 26 JAN 2000 05:27PM Mike Ruane, WinWin Solutions Inc. wrote:
Michael-
Look at the online help for Get_Status and Set_Status. These apply to Attachtable, and others.
For event statuses (eg Forward_Event), look at Set_EventStatus and get_EventStatus.
Hope this helps-
Mike Ruane
WinWin Solutions Inc.
WWW.WinWinSol.Com
At 27 JAN 2000 10:55AM Michael Slack wrote:
The GET_STATUS and SET_STATUS sounds like what I want. The only problem I'm having now is finding any documentation on either of these. I've checked this on-line discussion area, plus the knowledge base, our manuals here and nothing tells me how to use eaither of these properly. Can you point me in the right direction?
Thanks,
Michael Slack
At 27 JAN 2000 11:09AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Well to find the useful routines Mike has mentioned you'll need to buy OI and check those docs.
For AREV (as you said you were using ) you can check @File.Error to see if it worked.
World Leaders in all things RevSoft