Jump to content

GetRowData ( fieldName ; recordNumber )


This topic is 6787 days old. Please don't post here. Open a new topic instead.

Recommended Posts

So I discovered that the new FM8 function:GetNthRecord ( fieldName ; recordNumber ) there was into FM7 too ! :)

Its name is: GetRowData ( fieldName ; recordNumber )

But it do nothing, neither appears between the functions list.

If you enter a calc with this, FM7 accept the function !

If you open with FM8 you'll see the new one ! ???

So (for now I think, I didn't test), if you write a custom function with FM7 Dev around this , when you'll open with 8 it should work :

Link to comment
Share on other sites

  • 2 weeks later...

No. Apparently the concept was not fully fleshed when 7 was released. I think Daniele's point was that you can use it in 7 to be prepared for use in 8. I do not have veresion 8, but I can make a sample file which includes GetNthRecord for someone else to use in 8. That is quite nifty.

Link to comment
Share on other sites

"But it do nothing, neither appears between the functions list."

As I said this function IS into FM7 but makes nothing!

So it seems not a great discovery...

but if you own FM7 Developer, than you can make a custom function with this new function.

When you'll open that file with FM8 (not the advanced ! the trial is just good !) the custom function will run !!

Edited by Guest
other words to explain better
Link to comment
Share on other sites

  • 2 weeks later...

Hi

I made this file (as an example) with FM7 Dev;

there is a custom function:

Field'sAllData(field;number)


Let([

next = number + 1

];

Case(

number < Get ( FoundCount )  ; GetRowData ( field ; number ) & "¶" & Field'sAllData ( field; next );

number = Get ( FoundCount )  ; GetRowData ( field ; number );

""

)

)

This file do not work with FM7...

but it will work with FM8 !

GetRowData.zip

Link to comment
Share on other sites

This topic is 6787 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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