Re: Rob, Help Again with EDS - REPOST

new topic     » topic index » view thread      » older message » newer message

Repost for C.K....

C.K. Lester writes:
> Need your help wit' this one:
>
> global function db_current_table() -- return name of current table
>    -- ???
> end function

You could simply record the name whenever you call
db_select_table(name).

Or, you could use the value of current_table
to get the name, something like:

-- warning: untested code taken from table_find():

safe_seek(current_table)
name_ptr = get4()
safe_seek(name_ptr)
name = get_string()

This might break if the data structures are ever changed.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu